From 6f9bb91cc58639763bf785480bcc665f65542913 Mon Sep 17 00:00:00 2001 From: Boyuan Yang Date: Sat, 3 Aug 2024 19:08:10 -0400 Subject: [PATCH] Use dh-sequence-python3, pyproject --- debian/changelog | 10 ++++++++++ debian/control | 3 ++- debian/rules | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 28afc03..72348c0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +opencc (1.1.8+ds1-3) unstable; urgency=medium + + * Upload to unstable. Closes: #1077816 + * debian/control: Move main description to source package section. + * debian/control: Add new build-dependency pybuild-plugin-pyproject. + * debian/control: Use dh-sequence-python3. + * debian/rules: Use pyproject instead of distutils for pybuild. + + -- Boyuan Yang Sat, 03 Aug 2024 19:07:26 -0400 + opencc (1.1.8+ds1-2) experimental; urgency=medium * Team upload diff --git a/debian/control b/debian/control index b5cde12..ffe819e 100644 --- a/debian/control +++ b/debian/control @@ -14,7 +14,7 @@ Build-Depends: cmake, darts, debhelper-compat (= 13), - dh-python, + dh-sequence-python3, doxygen , googletest , libmarisa-dev, @@ -24,6 +24,7 @@ Build-Depends: pybind11-dev, python3-dev, rapidjson-dev, + pybuild-plugin-pyproject, python3-setuptools, python3-wheel, Standards-Version: 4.6.2 diff --git a/debian/rules b/debian/rules index 05f4cac..c84c4b2 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ include /usr/share/dpkg/architecture.mk # Disable parallel build to circumvent some random build error # (needs further investigation) %: - dh $@ --with python3 --buildsystem=cmake --no-parallel + dh $@ --buildsystem=cmake --no-parallel BUILD_OPTIONS = \ -DCMAKE_INSTALL_PREFIX=/usr \ -- 2.30.2